<?php
class product extends database{
	protected $_table = "tbl_products";
	public function producthot($limit){
		$sql = "select * from $this->_table where pro_hot = '1' limit $limit";
		$this->query($sql);
		return $this->fetchall();
	}
}